Skip to content

Conversation

simolus3
Copy link
Contributor

This adds new schema generators:

  • For Room on Kotlin multiplatform, we generate an @Entity() data class for each table.
  • Both SQLDelight and Drift can interpret a schema based on CREATE TABLE statements, so we can generate those. There's a note explaining that these statements are only used for analysis / codegen purposes.

@changeset-bot
Copy link

changeset-bot bot commented Sep 23, 2025

🦋 Changeset detected

Latest commit: 72ceec5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
Name Type
@powersync/service-sync-rules Patch
@powersync/service-jpgwire Patch
@powersync/service-core-tests Patch
@powersync/service-core Patch
@powersync/lib-services-framework Patch
@powersync/service-module-mongodb-storage Patch
@powersync/service-module-mongodb Patch
@powersync/service-module-mysql Patch
@powersync/service-module-postgres-storage Patch
@powersync/service-module-postgres Patch
@powersync/lib-service-postgres Patch
@powersync/service-module-core Patch
@powersync/service-image Patch
test-client Patch
@powersync/service-rsocket-router Patch
@powersync/lib-service-mongodb Patch
@powersync/service-schema Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@simolus3 simolus3 force-pushed the sql-schema-generator branch from 83e4c62 to 46fe0e6 Compare October 23, 2025 14:17
@simolus3 simolus3 merged commit c2bd0b0 into main Oct 23, 2025
21 checks passed
@simolus3 simolus3 deleted the sql-schema-generator branch October 23, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants